package com.shared.server.impl;

import com.shared.dao.PCommentMapper;
import com.shared.pojo.PComment;
import com.shared.server.PCommentServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PCommentServerImpl implements PCommentServer {

    @Autowired
    private PCommentMapper pCommentMapper;


    @Override
    public void addComment(PComment pComment) {
        this.pCommentMapper.addComment(pComment);
    }
}
